00001 // Emacs Mode Line: -*- Mode:c++;-*- 00002 // ------------------------------------------------------------- 00003 /* 00004 * Copyright (c) 2013 Battelle Memorial Institute 00005 * Licensed under modified BSD License. A copy of this license can be found 00006 * in the LICENSE file in the top level directory of this distribution. 00007 */ 00008 // ------------------------------------------------------------- 00009 // ------------------------------------------------------------- 00010 /** 00011 * @file glpk_optimizer_implementation.hpp 00012 * @author William A. Perkins 00013 * @date 2015-09-16 10:18:13 d3g096 00014 * 00015 * @brief 00016 * 00017 * 00018 */ 00019 // ------------------------------------------------------------- 00020 00021 #ifndef _glpk_optimizer_implementation_hpp_ 00022 #define _glpk_optimizer_implementation_hpp_ 00023 00024 #include "lpfile_optimizer_implementation.hpp" 00025 00026 namespace gridpack { 00027 namespace optimization { 00028 00029 // ------------------------------------------------------------- 00030 // class GLPKOptimizerImplementation 00031 // ------------------------------------------------------------- 00032 class GLPKOptimizerImplementation 00033 : public LPFileOptimizerImplementation 00034 { 00035 public: 00036 00037 /// Default constructor. 00038 GLPKOptimizerImplementation(const parallel::Communicator& comm); 00039 00040 /// Destructor 00041 ~GLPKOptimizerImplementation(void); 00042 00043 protected: 00044 00045 /// Do the problem (specialized) 00046 void p_solve(const p_optimizeMethod& m); 00047 00048 }; 00049 00050 } // namespace optimization 00051 } // namespace gridpack 00052 00053 00054 #endif